<template>
  <div class="tips">
    <van-list
      
      :finished="finished"
      finished-text="没有更多了"
    >
      <van-cell v-for="item in tipsList" :key="item.id" :title="item.name" @click="selectKeyword(item.name)"/>
    </van-list>      
  </div>
</template>

<script>
export default {
  data(){
    return{
      finished:true
    }
  },
  props:['tipsList'],
  mounted(){
  },
  methods:{
    selectKeyword(name){
      this.$emit('acceptKeyword',name)
    }
  }

}
</script>

<style>

</style>